<?php



class Vista
{
	var $controle;
	var $registro;
	
	function Vista($controle, $registro) {
		$this->controle	= $controle;
		$this->registro = $registro;
	}
	
	function exibir($pagina) {
		$registro = $this->registro;
		
		include(__SITE_PATH . '/views/' . 'cabecalho.php');
		include(__SITE_PATH . '/views/' . $pagina);
		include(__SITE_PATH . '/views/' . 'rodape.php');
	}
}

?>